package chapter02

object Test18_Array4 {
  def main(args: Array[String]): Unit = {
    val text = scala.io.Source.fromFile("phoneNumber.txt").getLines()
    val phone = for (i <- text) yield i
    val array1 = phone.toArray
    println(array1.mkString(";"))
  }
}
